package com.gzdh.tang.modu.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gzdh.tang.modu.entity.Bmzl;
import com.gzdh.tang.modu.mapper.BmzlMapper;
import com.gzdh.tang.modu.service.BmzlService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class BmzlServiceImpl extends ServiceImpl<BmzlMapper, Bmzl> implements BmzlService {

    @Autowired
    BmzlMapper bmzlMapper;

    @Override
    public List<Bmzl> findBmzlList(int addr) {
        return bmzlMapper.findBmzlList(addr);
    }

    @Override
    public List<Bmzl> selectListByTableNameContainAddr(String addr) {
        return bmzlMapper.selectListByTableNameContainAddr(addr);
    }
}
